package com.hz.cheetah.client;

import java.net.InetSocketAddress;
import java.net.SocketAddress;

/**
 * Created by yangchuan on 16/7/4.
 */
public class CChannel {


    private SocketAddress remoteAddress;
    private SocketAddress localAddress;

    public void setRemoteAddress(SocketAddress remoteAddress) {
        this.remoteAddress = remoteAddress;
    }

    public void setLocalAddress(SocketAddress localAddress) {
        this.localAddress = localAddress;
    }

    public SocketAddress remoteAddress(){
        return remoteAddress;
    }

    public SocketAddress localAddress(){
        return localAddress;
    }

}
